package com.firewolf.spring.aop.service.annotation;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.DeclareParents;
import org.springframework.stereotype.Component;

/**
 * 通过注解为一个类新添加方法
 * @author Administrator
 *
 */
@Aspect
@Component
public class ConstantIntroducer {
     @DeclareParents(value="com.firewolf.spring.aop.service.CarServiceImpl",
           defaultImpl=com.firewolf.spring.aop.service.annotation.ModifyCarImpl.class)
     public static IModifyCar modifyCarService;
}